home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 8 / FM Towns Free Software Collection 8.iso / t_os / otohime / src / lib / interrpt.asm < prev    next >
Assembly Source File  |  1994-06-01  |  569b  |  36 lines

  1. ;        割り込み禁止 & 解除
  2. ;        
  3. ;        1993 8/20  Hiroshi TODA
  4. ;
  5.  
  6.     .386p
  7.  
  8. ;-------------------------------------------
  9.  
  10. cseg    segment    dword public use32 'CODE'
  11.     assume    cs:cseg,ds:cseg
  12.  
  13. ;int interrupt_disable()
  14.  
  15.     public    interrupt_disable
  16.     db    'interrupt_disable',17
  17. interrupt_disable    proc    near
  18.     cli                    ;Int disable
  19.     xor    eax,eax
  20.     ret
  21. interrupt_disable    endp
  22.  
  23. ;int interrupt_enable()
  24.  
  25.     public    interrupt_enable
  26.     db    'interrupt_enable',16
  27. interrupt_enable    proc    near
  28.     sti                    ;interrupt enable
  29.     xor    eax,eax
  30.     ret
  31. interrupt_enable    endp
  32.  
  33. cseg    ends
  34.     end
  35.  
  36.